package com.general.framework.constant;

/**
 * HTTP 状态码常量
 *
 * @author coevos
 */
public class HttpStatus {

    /** 成功 */
    public static final int SUCCESS = 200;

    /** 警告 */
    public static final int WARN = 301;

    /** 错误 */
    public static final int ERROR = 500;

    /** 未登录 */
    public static final int UNAUTHORIZED = 401;

    /** 无权限 */
    public static final int FORBIDDEN = 403;

    /** 请求无效 */
    public static final int BAD_REQUEST = 400;

    /** 资源不存在 */
    public static final int NOT_FOUND = 404;

    /** 服务器内部错误 */
    public static final int INTERNAL_SERVER_ERROR = 500;
}